﻿namespace Yipusoft.Account.Model
{
    using System;

    public class UserInfo
    {
        private string _DepartmentID;
        private string _IPLastLogin;
        private string _Password;
        private int _State;
        private DateTime _TimeLastLogin;
        private DateTime _TimeRegister;
        private string _UserID;
        private string _UserName;

        public UserInfo()
        {
        }

        public UserInfo(string _UserID, string _UserName, string _Password, string _DepartmentID, DateTime _TimeLastLogin, string _IPLastLogin, DateTime _TimeRegister, int _State)
        {
            this._UserID = _UserID;
            this._UserName = _UserName;
            this._Password = _Password;
            this._DepartmentID = _DepartmentID;
            this._TimeLastLogin = _TimeLastLogin;
            this._IPLastLogin = _IPLastLogin;
            this._TimeRegister = _TimeRegister;
            this._State = _State;
        }

        public string DepartmentID
        {
            get
            {
                return this._DepartmentID;
            }
            set
            {
                this._DepartmentID = value;
            }
        }

        public string IPLastLogin
        {
            get
            {
                return this._IPLastLogin;
            }
            set
            {
                this._IPLastLogin = value;
            }
        }

        public string Password
        {
            get
            {
                return this._Password;
            }
            set
            {
                this._Password = value;
            }
        }

        public int State
        {
            get
            {
                return this._State;
            }
            set
            {
                this._State = value;
            }
        }

        public DateTime TimeLastLogin
        {
            get
            {
                return this._TimeLastLogin;
            }
            set
            {
                this._TimeLastLogin = value;
            }
        }

        public DateTime TimeRegister
        {
            get
            {
                return this._TimeRegister;
            }
            set
            {
                this._TimeRegister = value;
            }
        }

        public string UserID
        {
            get
            {
                return this._UserID;
            }
            set
            {
                this._UserID = value;
            }
        }

        public string UserName
        {
            get
            {
                return this._UserName;
            }
            set
            {
                this._UserName = value;
            }
        }
    }
}

